use inc::Module::Install;

if ( -e 'MANIFEST.SKIP' ) {
    system( 'pod2text lib/Catalyst/Controller/HTML/FormFu.pm > README' );
}

name 'Catalyst-Controller-HTML-FormFu';
all_from 'lib/Catalyst/Controller/HTML/FormFu.pm';

repository 'http://html-formfu.googlecode.com/svn/trunk/Catalyst-Controller-HTML-FormFu';

requires 'Catalyst::Runtime' => '5.71001';
requires 'Catalyst::Component::InstancePerContext';
requires 'Class::C3';
requires 'Config::Any';
requires 'File::Spec';
requires 'HTML::FormFu' => '0.04001';
requires 'MRO::Compat' => '0.10';
requires 'Moose';
requires 'Regexp::Assemble';
requires 'Scalar::Util';
requires 'Task::Weaken'; # to ensure Scalar::Util was built with weaken()
requires 'namespace::autoclean';

test_requires 'Catalyst::Action::RenderView';
test_requires 'Catalyst::Plugin::ConfigLoader' => 0.23; # stops warnings under Catalyst 5.80001
test_requires 'Catalyst::Plugin::Session';
test_requires 'Catalyst::Plugin::Session::State::Cookie';
test_requires 'Catalyst::Plugin::Session::Store::File';
test_requires 'Catalyst::View::TT';
test_requires 'Config::General';
test_requires 'Template';
test_requires 'Test::WWW::Mechanize::Catalyst';
test_requires 'Test::WWW::Mechanize' => '1.16'; # post_ok came in 1.16
test_requires 'Test::More' => '0.92'; # done_testing

license 'perl';

tests_recursive( 't' );

&WriteAll;
